using System;
using System.Collections.Generic;
using System.Text;

namespace codeparser.net
{
    /// <summary>
    /// Represents a tag parameter.
    /// </summary>
    internal class TagParameter
    {
        /// <summary>
        /// Contains the key.
        /// </summary>
        private string _key;

        /// <summary>
        /// Contains the value.
        /// </summary>
        private string _value;

        /// <summary>
        /// Gets or sets the key.
        /// </summary>
        /// <value>The key.</value>
        public string Key
        {
            get
            {
                return this._key;
            }

            set
            {
                this._key = value;
            }
        }

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>The value.</value>
        public string Value
        {
            get
            {
                return _value;
            }
            set
            {
                _value = value;
            }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="TagParameter"/> class.
        /// </summary>
        /// <param name="key">The key.</param>
        /// <param name="value">The value.</param>
        public TagParameter(string key, string value)
        {
            this._key = key;
            this._value = value;
        }
    }
}
